Groebke multicomponent reaction and subsequent nucleophilic aromatic substitution for a convenient synthesis of 3,8-diaminoimidazo[1,2-a]pyrazines as potential kinase inhibitors.