A compound of formula (I) as well as pharmaceutically acceptable salts thereof. A pharmaceutical composition comprising a therapeutically effective amount of the compound. The compound is useful for the treatment of cancer, diabetic retinopathy, age-related macular degeneration, inflammation, stroke, ischemic myocardium, atherosclerosis, macular edema or psoriasis.