Mechanism-based design of a protein kinase inhibitor