The present invention is directed in part towards methods of modulating the function of calcium channels with pyrimidine-based compounds. In addition, the invention describes methods of preventing and treating calcium channel-related abnormal conditions in organisms with a compound identified by the invention. Furthermore, the invention pertains to pyrimidine-based compounds and pharmaceutical compositions comprising these compounds.