Officials said the man did not appear to be targeting Trump or others involved in the trial
Authorities said government forces killed 45 insurgents and left 35 wounded and none of the police checkpoints was captured in the overnight attacks.
"Our forces resisted until they received reinforcement and air support," said Zia Durrani, spokesman for Kandahar's police chief. "The Taliban were defeated."
The Taliban told reporters by WhatsApp that they killed 43 police and members of a militia and destroyed 13 armoured vehicles.
The insurgents often exaggerate battlefield casualties.