anchor.diff: -{ stdenv, fetchurl, pkgconfig, gtk, gtkspell, aspell
  +{ stdenv, fetchurl, gtk, gtkspell, aspell
   , gstreamer, gst_plugins_base, startupnotification, gettext
   , perl, perlXMLParser, libxml2, nss, nspr, farsight2
  -, libXScrnSaver, ncurses, avahi, dbus, dbus_glib, intltool, libidn
  -, lib, python, libICE, libXext, libSM
  +, xorg, ncurses, avahi, dbus, dbus_glib, intltool, libidn
  +, lib, python
   , openssl ? null
   , gnutls ? null
   , libgcrypt ? null
  
positive.code: stdenv.mkDerivation rec {
    name = "pidgin-${version}";
    majorVersion = "2";
    version = "${majorVersion}.10.11";
  
    src = fetchurl {
      url = "mirror://sourceforge/pidgin/${name}.tar.bz2";
      sha256 = "01s0q30qrjlzj7kkz6f8lvrwsdd55a9yjh2xjjwyyxzw849j3bpj";
    };
  
    inherit nss ncurses;
  
negative.code:     gtkspell aspell
      gstreamer gst_plugins_base startupnotification
      libxml2 nss nspr farsight2
      xorg.libXScrnSaver ncurses python
      avahi dbus dbus_glib intltool libidn
      xorg.libICE xorg.libXext xorg.libSM
    ]
    ++ (lib.optional (openssl != null) openssl)
    ++ (lib.optional (gnutls != null) gnutls)
    ++ (lib.optional (libgcrypt != null) libgcrypt);
  
    propagatedBuildInputs = [
      gtk perl perlXMLParser gettext
    ];
  
    patches = [./pidgin-makefile.patch ./add-search-path.patch ];
  