depends fuse &&
depends PKG-CONFIG &&

optional_depends perl \
                 "--enable-documentation" \
                 "--disable-documentation" \
                 "to build manual page" &&

if [[ $CASTFS_BRANCH == scm ]]; then
  depends git
fi

# disable the xattr functions until they get fixed #14479
#if is_depends_enabled coreutils attr; then
#  optional_depends attr \
#                   "--enable-xattr" \
#                   "--disable-xattr" \
#                   "for extended attributes support"
#else
#  list_add "CASTFS_OPTS" "--disable-xattr"
#fi
