if [[ ! -v NCMPCPP_OPTS ]]; then
  persistent_add NCMPCPP_OPTS
fi &&

# deprecation of old variables
for o in NCMPCPP_UNICODE NCMPCPP_CLOCK; do
  if [[ -n ${!o} ]]; then
    list_add "NCMPCPP_OPTS" "${!o}" &&
    persistent_remove ${o}
  fi
done &&

config_query_option NCMPCPP_OPTS \
                    "Do you want support for unicode?" \
                    y \
                    "--enable-unicode" \
                    "--disable-unicode" &&
config_query_option NCMPCPP_OPTS \
                    "Do you want ncmpcpp to display a clock?" \
                    n \
                    "--enable-clock" \
                    "--disable-clock" &&
config_query_option NCMPCPP_OPTS \
                    "Do you want to enable the output screen?" \
                    n \
                    "--enable-outputs" \
                    "--disable-outputs"
