The present invention relates to a novel family of inhibitors of protein kinases of Formula (1) wherein X is selected from CH2, O, S(0)n, or NR6; and process for their production and pharmaceutical compositions thereof. In particular, the present invention relates to inhibitors of the members of the Tec, Src, Btk and Lck protein kinase families.