Have you actually installed ncurses on your system? https://gist.github.com/cnruby/960344
I will try this, but I did a search/info with homebrew and it said it was not recommended because OS X already has ncurses installed by default. Something about conflicts that could possibly occur. I found libncurses.dylib and such already installed in /usr/lib.