Larger-than-life software mogul John McAfee dies in Spain by suicide, lawyer says British-born U.S. technology entrepreneur John McAfee died on Wednesday by suicide in a Barcelona prison after the Spanish high court authorised his extradition to the United States on tax evasion charges.