Ugandan President Yoweri Museveni wins a sixth term in office with 58.6 percent of the vote, in an election disputed by his main rival Bobi Wine who trailed with 34.8 percent, the electoral commission says.