(Adds Trump's return to the United States)
KABUL Nov 29 (Reuters) - The Taliban said on Friday they were ready to restart peace talks with the United States, a day after President Donald Trump visited U.S. troops in Afghanistan and said he believed the radical group would agree to a ceasefire.
Trump's surprise Thanksgiving Day visit was his first to Afghanistan since becoming president and came a week after a prisoner swap between Washington and Kabul that raised hopes for a long elusive peace deal to end the 18-year war.
"The Taliban wants to make a deal and we are meeting with them," Trump told reporters after arriving in Afghanistan on Thursday.
"We say it has to be a ceasefire and they didn't want to do a ceasefire and now they want to do a ceasefire, I believe. It will probably work out that way," he said.
Trump cancelled peace negotiations in September after the militant group claimed responsibility for an attack in Kabul that killed 12 people, including an American soldier.
Zabihullah Mujahid, a spokesman for the hardline Islamist insurgent group, said on Friday they were "ready to restart the talks".
"Our stance is still the same. If peace talks start, it will be resumed from the stage where it had stopped," Mujahid told Reuters.
Taliban leaders have told Reuters that the group has been holding meetings with senior U.S. officials in Doha since last weekend, adding they could soon resume formal peace talks.
"We are hoping that Trump's visit to Afghanistan will prove that he is serious to start talks again. We don't think he has not much of a choice," said a senior Taliban commander on conditions of anonymity.
Trump did not answer reporters' questions when he returned on Friday morning to Florida, where he is spending the U.S. Thanksgiving holiday weekend away from Washington.
There are currently about 13,000 U.S. forces as well as thousands of other NATO troops in Afghanistan, 18 years after a U.S.-led coalition invaded the country following the Sept. 11, 2001, al Qaeda attacks on the United States.
About 2,400 U.S. service members have been killed in the course of the Afghan conflict.
A draft accord agreed in September would have thousands of American troops withdrawn in exchange for guarantees that Afghanistan would not be used as a base for militant attacks on the United States or its allies.
Still, many U.S. officials doubt the Taliban could be relied upon to prevent al Qaeda from again plotting attacks against the United States from Afghan soil. (Reporting by Abdul Qadir Sediqi, Humeyra Pamuk and Idrees Ali Editing by Raju Gopalakrishnan and Susan Heavey)