# remove obsolete options from IRSSI_OPTS
list_remove IRSSI_OPTS '--enable-ipv6' &&
list_remove IRSSI_OPTS '--disable-ipv6' &&
list_remove IRSSI_OPTS '--with-bot' &&
list_remove IRSSI_OPTS '--without-bot' &&
list_remove IRSSI_OPTS '--with-proxy' &&
list_remove IRSSI_OPTS '--without-proxy' &&
list_remove IRSSI_OPTS '--enable-true-color' &&
list_remove IRSSI_OPTS '--disable-true-color' &&

config_query_option IRSSI_OPTS "build with irssi-bot" n \
                               " with-bot=yes" \
                               " with-bot=no" &&

config_query_option IRSSI_OPTS "build with irssi-proxy (to use irssi as a bouncer)" n \
                               " with-proxy=yes" \
                               " with-proxy=no" &&

config_query_option IRSSI_OPTS "build with true color support?" n \
                               " enable-true-color=yes" \
                               " enable-true-color=no"
