class Xamarin < Cask
  version :latest
  sha256 :no_check

  url 'http://download.xamarin.com/Installer/Mac/XamarinInstaller.dmg'
  homepage 'http://xamarin.com/platform'

  caveats do
    puts 'This app requires the JRE (Java Runtime Environment) to be installed'
    manual_installer 'Install Xamarin.app'
  end

  uninstall :delete => '/Applications/Xamarin Studio.app'
  zap       :delete => '~/Library/Developer/Xamarin'
end
