The present invention provides compounds having formula (I) and pharmaceutically acceptable salts and stereoisomers thereof that are useful in the treatment of inflammatory diseases which are mediated by LTB4 production, such as psoriasis, ulcerative colitis, IBD, and asthma.