optional_depends "libusb" "--enable-libusb" "--disable-libusb" "Use libUSB?" &&

config_query LCDPROC_G15 "Use the G15 LCD?" n &&
if [[ "$LCDPROC_G15" == "y" ]]; then
  depends g15daemon &&
  depends libg15 &&
  depends libg15render
fi

optional_depends lirc "" "" "Enable the lirc driver?" &&
optional_depends ncurses "" "" "Enable the ncurses driver?" &&
optional_depends svgalib "" "" "Enable the svga driver?" &&
optional_depends xosd "" "" "Enable the xosd driver?" &&
optional_depends doxygen "--enable-doxygen" "--disable-oxygen" "For document generation"
