OpenBSD has ncurses in base.

Index: Makefile
--- Makefile.orig
+++ Makefile
@@ -4,8 +4,7 @@ PREFIX    ?= /usr/local
 MANPREFIX ?= $(PREFIX)/man
 CPPFLAGS += -DVERSION_STR='"$(VERSION)"'
 CFLAGS += -Wall -Wextra
-CFLAGS += `pkg-config --cflags ncursesw`
-LDLIBS += `pkg-config --libs ncursesw` -lm
+LDLIBS += -lcurses -lm
 
 all: ttyplot stresstest
 
