cask :v1 => 'private-eye' do
  version :latest
  sha256 :no_check

  url 'http://radiosilenceapp.com/downloads/Private%20Eye.pkg'
  name 'Private Eye'
  homepage 'http://radiosilenceapp.com/private-eye'
  license :oss

  pkg 'Private Eye.pkg'
  # We intentionally unload the kext twice as a workaround
  # See https://github.com/caskroom/homebrew-cask/pull/1802#issuecomment-34171151

  uninstall :early_script => {
              :executable => '/sbin/kextunload',
              :args => ['-b', 'com.radiosilenceapp.nke.PrivateEye'],
              :must_succeed => false,
            },
            :quit => 'com.radiosilenceapp.PrivateEye',
            :kext => 'com.radiosilenceapp.nke.PrivateEye',
            :pkgutil => 'com.radiosilenceapp.privateEye.*'
end

cask :v1 => 'private-eye' do
  version :latest
  sha256 :no_check

  url 'http://radiosilenceapp.com/downloads/Private_Eye_for_OS_X_10.9_and_later.pkg'
  name 'Private Eye'
  homepage 'http://radiosilenceapp.com/private-eye'
  license :oss

  pkg 'Private_Eye_for_OS_X_10.9_and_later.pkg'
  # We intentionally unload the kext twice as a workaround
  # See https://github.com/caskroom/homebrew-cask/pull/1802#issuecomment-34171151

  uninstall :early_script => {
              :executable => '/sbin/kextunload',
              :args => ['-b', 'com.radiosilenceapp.nke.PrivateEye'],
              :must_succeed => false,
            },
            :quit => 'com.radiosilenceapp.PrivateEye',
            :kext => 'com.radiosilenceapp.nke.PrivateEye',
            :pkgutil => 'com.radiosilenceapp.privateEye.*',
            :launchctl => 'com.radiosilenceapp.nke.PrivateEye'
end

Update Private Eye.app download URL
Update Private Eye.app download URL

Previous download URL was grabbing an older version. This is the new download
URL per the homepage.

Add launchctl key to uninstall stanza.

Verified workaround is still neded to unload kext.
