cask 'mikogo' do
  version :latest
  sha256 :no_check

  # mikogo4.com was verified as official when first introduced to the cask
  url 'http://download.mikogo4.com/Mikogo-installer.signed.pkg'
  name 'Mikogo'
  homepage 'https://www.mikogo.com/'

  pkg 'Mikogo-installer.signed.pkg'

  uninstall pkgutil: 'com.mikogo.pkg.open-beta',
            delete:  '/Applications/Mikogo-host.app'
end
