source  $SECTION_DIRECTORY/KDE_CONFIGURE  &&

message  "${MESSAGE_COLOR}Will depend on ${SPELL_COLOR}libxslt${DEFAULT_COLOR}"  &&

if  spell_ok  libxslt;  then
  config_query  KDENETWORK_KOPETE  "Build Kopete Instant Messenger?"  y
else
  config_query  KDENETWORK_KOPETE  "Build Kopete Instant Messenger?"  n
fi  &&

if  [  "$KDENETWORK_KOPETE"  ==  "y"  ];  then
  message  "${MESSAGE_COLOR}Will depend on ${SPELL_COLOR}libidn${DEFAULT_COLOR}"  &&

  if  spell_ok  libidn;  then
    config_query  KDENETWORK_LIBIDN  "Enable Jabber protocol support in Kopete?"  y
  else
    config_query  KDENETWORK_LIBIDN  "Enable Jabber protocol support in Kopete?"  n
  fi  &&

  if  [  "$KDENETWORK_LIBIDN"  ==  "y"  ];  then
    message  "${MESSAGE_COLOR}Will depend on ${SPELL_COLOR}qca-tls${DEFAULT_COLOR}"  &&

    if  spell_ok  qca-tls;  then
      config_query  KDENETWORK_QCATLS  "Enable SSL support in Kopete Jabber?"  y
    else
      config_query  KDENETWORK_QCATLS  "Enable SSL support in Kopete Jabber?"  n
    fi
  else
    persistent_add  KDENETWORK_QCATLS  &&
    KDENETWORK_QCA_TLS="n"
  fi
else
  persistent_add  KDENETWORK_LIBIDN  KDENETWORK_QCATLS &&
  KDENETWORK_LIBIDN="n"
  KDENETWORK_QCATLS="n"
fi
