depends  e2fsprogs  &&
depends  SSL    &&
depends  smgl-fhs   &&
depends  zlib       &&

optional_depends  "libedit" \
                  "--with-libedit" \
                  "--without-libedit" \
                  "line editing support in sftp" &&

optional_depends  "linux-pam"                              \
                  "--with-pam"                             \
                  "--without-pam"                          \
                  "for optional pluggable authentication"  &&

optional_depends  "krb5"                          \
                  "--with-kerberos5=/usr"         \
                  "--without-kerberos5"           \
                  "to enable Kerberos 5 support" &&

optional_depends  "xauth"                    \
                  "--with-xauth="${INSTALL_ROOT}/usr/bin/xauth""   \
                  "--without-xauth"          \
                  "X server auth (needed by X11Forwarding)" &&

if [ "${OPENSSH_LPK}" == "y" ]; then
  depends autoconf               &&
  optional_depends "openldap"    \
                   "--with-ldap" \
                   "--without-ldap" \
                   "to support sshd checking LDAP for public keys"
fi &&

optional_depends "shadow" \
                   "--with-shadow" \
                   "--without-shadow" \
                   "use shadow for password management" &&

optional_depends "libfido2" \
                   --with{,out}-security-key-builtin \
                   "support U2F/FIDO devices with builtin code" &&

suggest_depends "systemd" \
                   "" \
                   "" \
                   "to install a systemd service"
