cask 'brl-cad-mged' do
  version '7.24.0'
  sha256 '5fe9eb9f5a2eb5544cf459b02e7e880040e02d1312d04c2207b90a731ebd8f0f'

  # downloads.sourceforge.net/brlcad was verified as official when first introduced to the cask
  url "https://downloads.sourceforge.net/brlcad/BRL-CAD%20for%20Mac%20OS%20X/#{version}/BRL-CAD%20#{version}.dmg"
  appcast 'https://sourceforge.net/projects/brlcad/rss?path=/BRL-CAD%20for%20Mac%20OS%20X',
          checkpoint: 'b10ff43a62b9f9f66ed5ea4aa691603aedc8f65ea3370d08daeb641a807a0db5'
  name 'BRL-CAD'
  homepage 'https://brlcad.org/'

  depends_on x11: true

  app "BRL-CAD : MGED #{version}.app"
end
