mk_add_options MOZ_CO_PROJECT=mail
ac_add_options --enable-application=mail

ac_add_options --prefix=/usr
ac_add_options --libdir=/usr/lib
ac_add_options --enable-pie

# Icedove
ac_add_options --with-branding=mail/branding/icedove
#ac_add_options --enable-calendar

# System libraries
ac_add_options --with-system-nspr
ac_add_options --with-system-nss
ac_add_options --with-system-jpeg
ac_add_options --with-system-zlib
ac_add_options --with-system-bz2
ac_add_options --with-system-png
ac_add_options --with-system-libevent
ac_add_options --with-system-libvpx
ac_add_options --with-system-icu
ac_add_options --enable-system-hunspell
ac_add_options --enable-system-sqlite
ac_add_options --enable-system-ffi
ac_add_options --enable-system-cairo
ac_add_options --enable-system-pixman

# Features
ac_add_options --enable-startup-notification
ac_add_options --enable-gio

ac_add_options --disable-gstreamer
ac_add_options --disable-gnomevfs
ac_add_options --disable-crashreporter
ac_add_options --disable-updater
ac_add_options --disable-tests
ac_add_options --disable-mochitest
ac_add_options --disable-installer
ac_add_options --disable-debug-symbols

# Optimization
ac_add_options --enable-optimize

export MOZILLA_OFFICIAL=1
mk_add_options MOZILLA_OFFICIAL=1

# Parabola features
ac_add_options --disable-official-branding
ac_add_options --disable-safe-browsing
ac_add_options --disable-url-classifier