depends pcre &&

if [[ $BLUEFISH_UNSTABLE == y ]]; then
  depends gtk+2
else
  if spell_ok gtk+2 && spell_ok gtk+3; then
    optional_depends gtk+2 "--with-gtk2" "" "to use gtk2 even if gtk3 is available"
  elif spell_ok gtk+2 && ! spell_ok gtk+3; then
    depends gtk+2 '--with-gtk2'
  else
    depends gtk+3
  fi
fi &&

optional_depends gucharmap "" "" "for the character map plugin" &&

optional_depends enchant \
                 "--enable-spell-check" \
                 "--disable-spell-check" \
                 "for spell checking capabilities" &&

optional_depends python \
                 "--enable-python" \
                 "--disable-python" \
                 "for python integration (HIGHLY EXPERIMENTAL)"
