depends appconfig &&
depends perl-cgi  &&
depends file-spec &&
depends template-toolkit &&
depends mime-base64 &&
depends mime-tools &&

depends dbi              &&

if [[ "$BUGZILLA_DATABASE" == "mysql" ]]; then
  depends dbd-mysql
elif [[ "$BUGZILLA_DATABASE" == "postgresql" ]]; then
  depends dbd-pg
fi &&

if [[ "$BUGZILLA_PATCH" == "y" ]]; then
  depends patchutils &&
  depends patchreader
fi

if [[ "$BUGZILLA_CHARTING" == "y" ]]; then
  depends perl-gd  &&
  depends gd-graph &&
  depends gd-text  &&
  depends template-plugin-gd-image &&
  depends chart    
fi &&

optional_depends imagemagick   '' '' 'to convert bmp attachments to png' &&
optional_depends xml-twig      '' '' 'For importing bugs via the xml format also required for the "move bugs" feature' &&
optional_depends net-ldap      '' '' 'for LDAP authentication'           &&
optional_depends html-scrubber '' '' 'If you want additional HTML tags within product and group descriptions' 
