Synthesis and biological activity of imidazole group-substituted arylaminopyrimidines (IAAPs) as potent BTK inhibitors against B-cell lymphoma and AML.