.if defined(WITH_ICAL)
LIB_DEPENDS+= ical.44:${PORTSDIR}/devel/libical
CFLAGS+= -I${LOCALBASE}/include/libical
.else
CONFIGURE_ARGS+=--disable-libical
.endif
post-patch: