cask 'kickmount' do
  version '1.0.3'
  sha256 '18cb64f4a6791650a4895b4e6e047c70a6218ea4e91c8413195ce8933161ecff'

  url "https://github.com/m12n/kickmount/releases/download/1.0.3/kickmount-1.0.3.dmg"
  name 'KickMount'
  homepage 'https://github.com/m12n/kickmount'

  app 'KickMount.app'

  caveats do
    depends_on_java('8')
  end

  zap delete: [
    '~/Library/Application Support/KickMount',
    '~/Library/Logs/KickMount',
    '~/Library/LaunchAgents/org.m12n.kickmount.plist'
  ]
end
