require "formula"

class Kakoune < Formula
  homepage "https://github.com/mawww/kakoune"
  head "https://github.com/mawww/kakoune.git"

  depends_on 'boost'
  depends_on 'asciidoc' => :build

  def install
    cd 'src' do
      system "make", "install", "PREFIX=#{prefix}"
    end
  end
end

require "formula"

class Kakoune < Formula
  homepage "https://github.com/mawww/kakoune"
  head "https://github.com/mawww/kakoune.git"

  depends_on 'boost'
  depends_on 'asciidoc'

  def install
    cd 'src' do
      system "make", "install", "PREFIX=#{prefix}"
    end
  end
end

--- 
+++ 
@@ -5,7 +5,7 @@
   head "https://github.com/mawww/kakoune.git"
 
   depends_on 'boost'
-  depends_on 'asciidoc'
+  depends_on 'asciidoc' => :build
 
   def install
     cd 'src' do
Set asciidoc as a build-time dep in Homebrew