A court in Vietnam on Monday sentenced a U.S. citizen to 12 years in prison after finding him guilty of "attempting to overthrow the state" in a trial that lasted just half a day, his lawyer said.