Discovery of Pyrazolopyrimidine Derivatives as Novel Dual Inhibitors of BTK and PI3Kδ.