The invention provides a novel class of pyrimidine derivatives, pharmaceuticalcompositions comprising such compounds and methods of using such compoundsto treat or prevent diseases or disorders associated with abnormal or deregulatedkinase activity, particularly diseases or disorders that involve abnormalactivation of c-kit, PDGFRα and PDGFRβ kinases.