On the basis of Ibrutinib's core pharmacophore, which was moderately active to EGFR T790M mutant, we discovered novel epidermal growth factor receptor (EGFR) inhibitor compound 19 (CHMFL-EGFR-202), which potently inhibited EGFR primary mutants (L858R, del19) and drug-resistant mutant L858R/T790M. Compound 19 displayed a good selectivity profile among 468 kinases/mutants tested in the KINOMEscan assay (S score (1) = 0.02). In particular, it did not exhibit apparent activities against INSR and IGF1R kinases. The X-ray crystal structure revealed that this class of inhibitors formed a covalent bond with Cys797 in a distinct "DFG-in-C-helix-out" inactive EGFR conformation. Compound 19 displayed strong antiproliferative effects against EGFR mutant-driven nonsmall cell lung cancer (NSCLC) cell lines such as H1975, PC9, HCC827, and H3255 but not the wild-type EGFR expressing cells. In the H1975 and PC9 cell-inoculated xenograft mouse models, compound 19 exhibited dose-dependent tumor growth suppression efficacy without obvious toxicity. Compound 19 might be a potential drug candidate for EGFR mutant-driven NSCLC.