depends perl &&
depends perl-error &&

if [[ $GIT_SHA_OPT == "openssl" ]]; then
  depends SSL "--with-openssl"
fi &&

if [[ $GIT_SVN == y ]]; then
  depends lwp &&
  depends term-readkey &&
  depends uri
fi &&

optional_depends curl \
                 "--with-curl" \
                 "--without-curl" \
                 "for http pull" &&

optional_depends expat \
                 "--with-expat" \
                 "--without-expat" \
                 "for http push" &&

# FIXME: gettext not optional for git 2.42.1
depends GETTEXT &&

optional_depends pcre2 '--with-libpcre' '' 'support Perl-compatible regexes' &&

optional_depends tk \
                 "--with-tcltk" \
                 "--without-tcltk" \
                 "for interactive GUI and graphical history browser" &&

optional_depends PYTHON \
                 "--with-python" \
                 "--without-python" \
                 "for git_remote_helpers end users don't typically use these. (see git's man page and look for the helper commands)" &&

suggest_depends dbd-sqlite "" "" "for git-cvsserver" &&
suggest_depends bash-completion "" "" "for bash completion of Git commands" &&
suggest_depends rsync "" "" "for syncing repos with rsync" &&
suggest_depends mime-base64 "" "" "for git-send-email" &&
suggest_depends authen-sasl "" "" "TLS support in git-send-email" &&
suggest_depends net-smtp-ssl "" "" "SSL support in git-send-email"
