I would "guesstimate" around $1200 for machining and parts, assemble yourself.
For a normal rebuild for an engine that will see occasional use and that was running well before it crapped, magnafluxing, sonic testing, pressure testing are very unnecesary.
New pistons, new cam, new timing, rods resized, crank ground, new bearings, rings, valve guides, possibly new valves, new springs, valve seals, gasket kit... should have you set.
Reuse your fuel pump, maybe the water pump if you like the condition, maybe throw a kit in the carb while you are at it. New plugs, wires and dizzy cap.
Josh