cask 'intellij-idea-eap' do version '2016.2.1-162.1447.7' sha256 'bc08389238585515e244287379379b46f6d89b098fc0698046abacba08f3115d' url "https://download.jetbrains.com/idea/ideaIU-#{version.sub(%r{.*?-}, '')}.dmg" name 'IntelliJ IDEA EAP' homepage 'https://confluence.jetbrains.com/display/IDEADEV/IDEA+2016.2+EAP' license :commercial auto_updates true app 'IntelliJ IDEA 2016.2.1 EAP.app' uninstall delete: '/usr/local/bin/idea' zap delete: [ "~/Library/Caches/IntelliJIdea#{version.major_minor}", "~/Library/Logs/IntelliJIdea#{version.major_minor}", "~/Library/Application Support/IntelliJIdea#{version.major_minor}", "~/Library/Preferences/IntelliJIdea#{version.major_minor}", ] end