Compounds of formula (I) are useful in treating conditions or disorders prevented by or ameliorated by histamine-3 receptor ligands. Also disclosed are pharmaceutical compositions comprising the histamine-3 receptor ligands, methods for using such compounds and compositions, and a process for preparing compounds within the scope of formula (I).