depends newt   &&
depends libpri &&

optional_depends  "LIBUSB"                                           \
                  "--with-usb"                                       \
                  "--without-usb"                                    \
                  "if you have USB telephony hardware"              &&

# check that the required CRC-CCITT builtin/module is there 
# should be redone with config subdepends once linux has them #13716
. $GRIMOIRE/FUNCTIONS &&
local ISDEF=$(get_running_kernel_config CONFIG_CRC_CCITT) &&
if [[ $ISDEF == n || $ISDEF == -1 ]]; then
  message "${PROBLEM_COLOR}You will need to recast the linux spell and add "
  message "CONFIG_CRC_CCITT to the config$DEFAULT_COLOR"
fi
