ac_add_options --enable-application=mail
ac_add_options --enable-update-channel=${MOZ_UPDATE_CHANNEL}
ac_add_options --disable-install-strip
ac_add_options --with-l10n-base=../../../l10n
ac_add_options --disable-compile-environment

# Build lightning locales
ac_add_options --enable-calendar
mk_add_options MOZ_POSTFLIGHT_ALL+=calendar/lightning/build/universal.mk

# Disable checking that add-ons are signed by the trusted root
MOZ_ADDON_SIGNING=0
# Disable enforcing that add-ons are signed by the trusted root
MOZ_REQUIRE_ADDON_SIGNING=0

# Run client.py
mk_add_options CLIENT_PY_ARGS="$([ -f $topsrcdir/build/client.py-l10n-args ] && cat $topsrcdir/build/client.py-l10n-args)"
mk_add_options ALWAYS_RUN_CLIENT_PY=1
