anchor.diff:        cp man/mum* $out/share/man/man1
       '' + (overrides.installPhase or "");
   
  -    enableParallelBuilding = true;
  -
  -    meta = {
  +    meta = with stdenv.lib; {
         description = "Low-latency, high quality voice chat software";
         homepage = "http://mumble.sourceforge.net/";
         license = licenses.bsd3;
  -      maintainers = with maintainers; [ viric jgeerds wkennington ];
  -      platforms = platforms.linux;
  +      maintainers = with maintainers; [
  +        wkennington
  +      ];
  +      platforms = with platforms;
  +        x86_64-linux;
       };
     });
   
     client = source: generic {
       type = "mumble";
   
  -    nativeBuildInputs = optional (source.qtVersion == 5) qt5.qttools;
  -    buildInputs = [ libopus libsndfile speex ]
  -      ++ optional (source.qtVersion == 5) qt5.qtsvg
  -      ++ optional stdenv.isLinux alsaLib
  -      ++ optional jackSupport libjack2
  -      ++ optional speechdSupport speechd
  -      ++ optional pulseSupport libpulseaudio;
  +    nativeBuildInputs = optionals (source.qtVersion == 5) [
  +      qt5.qttools
  +    ];
  +
  +    buildInputs = [
  +      alsa-lib
  +      libopus
  +      libsndfile
  +      speex
  +    ] ++ optionals (source.qtVersion == 5) [
  +      qt5.qtsvg
  +    ] ++ optionals jackSupport [
  +      jack2_lib
  +    ] ++ optionals speechdSupport [
  +      speechd
  +    ] ++ optionals pulseSupport [
  +      pulseaudio_lib
  +    ];
   
       configureFlags = [
         "CONFIG+=no-server"
  
positive.code:       "CONFIG+=bundled-celt"
        "CONFIG+=no-bundled-opus"
        "CONFIG+=no-bundled-speex"
      ] ++ optional (!speechdSupport) "CONFIG+=no-speechd"
        ++ optional jackSupport "CONFIG+=no-oss CONFIG+=no-alsa CONFIG+=jackaudio"
        ++ (overrides.configureFlags or [ ]);
  
      configurePhase = ''
        qmake $configureFlags DEFINES+="PLUGIN_PATH=$out/lib"
      '';
  
      makeFlags = [ "release" ];
  
      installPhase = ''
        mkdir -p $out/{lib,bin}
  
negative.code:       "CONFIG+=no-client"
      ];
  
      buildInputs = [
        libcap
      ] ++ optionals iceSupport [
        zeroc_ice
      ];
    };
  
    stableSource = rec {
      version = "1.2.14";
      qtVersion = 4;
  
      src = fetchurl {
        url = "https://github.com/mumble-voip/mumble/releases/download/${version}/mumble-${version}.tar.gz";
        sha256 = "0y3pi8ny0hw6q2q6ikgq1fqnlgw309r515q6flx1hjpxmr880m6z";
      };
    };
  
    gitSource = rec {
      version = "1.3.0-git-2016-02-25";
      qtVersion = 5;
  
      src = fetchgit {
        url = "https://github.com/mumble-voip/mumble";
        rev = "93427affdeeafb0b4aebd79bafc30970d8f39584";
        sha256 = "1ssd6pxx5355jwvmc9m02jh0jiabyli0ql7xc8yh1z13c2zf79ji";
      };
  
      # TODO: Remove fetchgit as it requires git
  