if [[ $APMD_USE_X == y ]]; then
  depends X11-LIBS
else
  optional_depends X11-LIBS "" "" "for xapmd"
fi &&
if [[ -n $APMD_USE_X ]]; then
  persistent_remove APMD_USE_X
fi
