depends gnupg &&
depends smgl-fhs &&

if list_find "$UDEV_OPTS" "--enable-extras"; then
  depends acl &&
  depends gperf  &&
  depends pkgconfig &&
  depends glib2     &&
  depends libusb    &&
  depends usbutils  &&
  depends USBIDS &&
  depends PCIIDS &&
  optional_depends consolekit '' '' 'seesion/seat support'
fi &&

if [[ "$(get_spell_provider ${SPELL} PCIIDS)" = 'pciutils' ]]; then
  depends -sub NO_ZLIB pciutils
fi &&

optional_depends gobject-introspection \
                 "" "--disable-introspection" \
                 "for GObject introspection support" &&

optional_depends gtk-doc \
                 "--enable-gtk-doc" \
                 "--disable-gtk-doc" \
                 "build and install documentation?" &&

optional_depends libselinux \
                 "--with-selinux" \
                 "--without-selinux" \
                 "for SELinux support" &&

optional_depends SYSTEM-LOGGER \
                 "--enable-logging" \
                 "--disable-logging" \
                 "for logging to syslog"
