depends geany &&

optional_depends gettext \
                 "--enable-nls" \
                 "--disable-nls" \
                 "for Native Language Support" &&

optional_depends lua \
                 "--enable-geanylua" \
                 "--disable-geanylua" \
                 "to build GeanyLua plugin" &&

optional_depends enchant \
                 "--enable-spellcheck" \
                 "--disable-spellcheck" \
                 "to build spellcheck plugin" &&

optional_depends gdb \
                 "--enable-geanygdb" \
                 "--disable-geanygdb" \
                 "to build GeanyGDB plugin" &&

optional_depends texlive \
                 "--enable-geanylatex" \
                 "--disable-geanylatex" \
                 "to build GeanyLaTeX plugin" &&

if list_find "$GEANY_PLUGINS_OPTS" "--enable-geanyvc"; then
  optional_depends gtkspell \
                   "--enable-gtkspell" \
                   "--disable-gtkspell" \
                   "for spell-checking support in GeanyVC" &&

  suggest_depends bzr "" "" "for Bazaar support" &&
  suggest_depends cvs "" "" "for CVS support" &&
  suggest_depends git "" "" "for Git support" &&
  suggest_depends mercurial "" "" "for Mercurial support" &&
  suggest_depends subversion "" "" "for Subversion support" &&
  suggest_depends svk "" "" "for SVK support"
fi &&

optional_depends webkitgtk \
                 "--enable-webhelper" \
                 "--disable-webhelper" \
                 "to build WebHelper plugin"
