Microwave-assisted synthesis of a 3-aminoimidazo[1,2-a]-pyridine/pyrazine library by fluorous multicomponent reactions and subsequent cross-coupling reactions.