The invention is directed to a compound of formula I, a pharmaceutically acceptable salt thereof, a pharmaceutical composition containing a compound of formula I, and a method of treatment of a disorder or condition selected from the group consisting of Human African Trypanosomiasis (HAT), Chagas disease, Leishmaniasis and malaria.