depends zip &&
depends perl &&

depends zlib   '--with-system-zlib' &&
depends jpeg   '--with-system-jpeg' &&
depends libpng '--with-system-png'  &&
depends nspr   '--with-system-nspr' &&
depends gtk+2  '--enable-default-toolkit=gtk2' &&
depends libidl '--with-libIDL' &&

optional_depends nss \
                 '--enable-crypto' \
                 '--disable-crypto' \
                 'for encrypted communications support (e.g. https://), recommended' &&

optional_depends libmng                           \
                 '--with-system-mng'              \
                 '--without-system-mng'           \
                 'for MNG picture format support' &&
optional_depends  gnome-vfs2 "" "--disable-gnomevfs" "for smb:// url support (if enabled in gnome-vfs)"  &&

if  [  "$MOZILLA_RENDER"  == "cairo"  ];  then
  depends cairo
fi &&

if  [  "$MOZILLA_ENIGMAIL"  ==  "y"  ];  then
  depends gnupg
fi
