In a small saucepan, saute onion in butter until tender. Stir in the ketchup, brown sugar, vinegar, Liquid Smoke if desired and seasonings. Cook and stir until heated through.
Store in an airtight container in the refrigerator for up to 1 month. Use as a basting sauce for grilled meats.